\documentclass{beamer}
%\usepackage[latin1]{inputenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{beamerthemeshadow}
\usepackage{times} %font times
\usepackage[T1]{fontenc} %% Usar la codificaci�n T1
%para que cuando se seleccione un texto las letras acentuadad y las � se copien bien
\usepackage{enumerate}
\usefonttheme{professionalfonts}

\newtheorem{defi}{Definition} 



%\usecolortheme[RGB={205,173,0}]{structure}
%\usetheme[height=7mm]{Berlin}


\mode<presentation>{
%\usetheme{Copenhagen}
\usetheme{Warsaw}


%\usetheme{Berlin}
%\usetheme{Madrid}

\setbeamercovered{transparent}
}


\title{FFLocation -- Find Friend Location}
\author{{Andreas Kapourani   }\\ {Aitor Martin   }\\ {Juan Javier García}}
\date{$19^{th}$ of January 2011}


\begin{document} %inicio del documento

%portada
\begin{frame}[plain]{Roskilde University}

\begin{center}
\includegraphics [width =0.25 \textwidth ]{Images/ruclogo} 

\end{center}


\titlepage
\end{frame}



\begin{frame}
\frametitle{Index}
%\tableofcontents
\begin{enumerate}
  
 \item Introduction
    \begin{itemize}
     \item What is FFLocation?
      \item The FFLocation System
    \end{itemize}

  \item Running Android application
  \item Android implementation
    \begin{itemize}
     \item Model View-Controller
     \item Maps
     \item GPS
     \item Camera
     \item Groups
     \item Interfaces
     \item Consuming web services
    \end{itemize}

    \item Conclusion
\end{enumerate}


\end{frame}

\section{Introduction}
%\subsection{What is FFLocation?}


\begin{frame}
\frametitle{What is FFLocation?}

\begin{enumerate}%[<+->]
 \item Social network. Sharing information with your friends like photos, notes, position in {\bf real time}.
 \item Distributed system.
 \item Use many features of SmartPhones such as GPS, Camera, Maps, etc.
 \item Web site to manage the application in a easy way.
\end{enumerate}

\end{frame}

%\subsection{Technologies}
\begin{frame}

\frametitle{The FFLocation architecture}

\begin{block}{Architecture}

FFLocation has a service-based architecture which embraces a lot of technologies.   

\end{block}

\begin{center}
\includegraphics [width =1 \textwidth ]{Images/architecture}
 
\end{center}


\end{frame}


\section{Running Android application}
\begin{frame}{Running Android application}
 \begin{block}{Demonstration}
  A brief demonstration about the Android application.
 \end{block}

\end{frame}

\section{Android implementation}
%\subsection{Code distribution}
\begin{frame}
\frametitle{Model View-Controller}
\begin{columns}[c] 
\begin{column}{6cm} 
\begin{center}
\includegraphics [width =0.5 \textwidth ]{Images/codeOrganization1}
\end{center}
\end{column} 
\begin{column}{6cm} %segunda columna
\begin{center}
\includegraphics [width =0.5 \textwidth ]{Images/codeOrganization2}
\end{center}
\end{column} %fin segunda columna
\end{columns} %fin de columnas	
\end{frame}


%subsection{Maps}
\begin{frame}
\frametitle{Maps}
\begin{enumerate}
  \item How to gives permission to Android application to access Internet.
  \item MapViewer, MapNotesOverlay and MapUsersOverlay.
  \item Paint the icons in the correct position on the screen.
  \item Recognise user click.
  \item Events.
\end{enumerate}
\end{frame}

%\subsection{GPS}
\begin{frame}
\frametitle{GPS}
\begin{enumerate}
  \item Grants permission to Android to access the GPS.
  \item Get the current position.
  \item GPSListener, update the position.
\end{enumerate}
\end{frame}

%\subsection{Camera}
\begin{frame}
\frametitle{Camera}
\begin{enumerate}
  \item Grants permission to Android to access the Camera.
  \item Take a photo.
  \item Update the photo to the server.
\end{enumerate}
\end{frame}


%\subsection{Consuming Web Services}

%\subsection{Groups}

%\subsection{Interfaces}
\begin{frame}
\frametitle{Interfaces}
\begin{block}{XML}
All the interfaces in Android are developed using XML and are allowed in the \emph{layout} folder.
\end{block}

\begin{columns}[c]
\begin{column}{6cm} 

\begin{center}
\includegraphics [width =0.8 \textwidth ]{Images/xml}
\end{center}

\end{column} 

\begin{column}{6cm} %segunda columna
\begin{center}
\includegraphics [width =0.6 \textwidth ]{Images/xmlcomment}
\end{center}
\end{column} %fin segunda columna
\end{columns} %fin de columnas	


\end{frame}

\begin{frame}
\frametitle{Groups}
\begin{enumerate}
\item Group the notes for having a simple map. 
\item Depends on the distance and the zoom.
\end{enumerate}
\begin{center}
\includegraphics [width =0.8 \textwidth ]{Images/zoom}
\end{center}
\end{frame}

\begin{frame}
\frametitle{Consuming web services}
The server specifies his interface in the WSDL file \emph{FFLocationAPI.wsdl}
\begin{enumerate}
\item Class ToServer communicates with the Server using web services.
\item The requests are SOAP messages over HTTP.
\item The library KSoap2 helps to serialise the objects.
\end{enumerate}

%\begin{center}
%\includegraphics [width =0.8 \textwidth ]{Images/consuming}
%\end{center}

\end{frame}


\section{Conclusion}

\begin{frame}{Conclusion}
  \begin{block}{Future improvements}
  
 \begin{enumerate}
  \item Upgrade the code.
  \item Add some functionalities like chat, allow videos, make phone calls, etc.
  \item The documentation, specially the language that was used.
 \end{enumerate}
  \end{block}
  \begin{block}{What we learnt...}
 \begin{enumerate}
  \item Improved teamwork techniques getting closer to real world projects.
  \item Acquired new knowledge about software and protocols.
  \item How to combine different technologies in the same project.
 \end{enumerate}
  \end{block}
\end{frame}

\begin{frame}{Questions}
  \begin{center}
    \huge Questions?
  \end{center}

\end{frame}
%\begin{columns}[c] 
%\begin{column}{7cm} 
%\begin{block}{Find Friend Location is ...}  
%A distributed system that embraces many features of SmartPhones such as GPS, Camera, Maps, etc. This transforms into a mobile application for 
%sharing users information like notes, photos and location in real time using the latest technologies. Find Friend Location has also a web site 
%application,  which gives the user the possibility to manage the application in an easy way.

%\end{block}
%\end{column} 

%\begin{column}{5cm} %segunda columna
%\begin{center}
%\includegraphics [width =1 \textwidth ]{figures/computacion.jpg}
%\end{center}
%\end{column} %fin segunda columna
%\end{columns} %fin de columnas	
%\end{frame}


\end{document}